package com.ljm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author song
 * @since 2021-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("role")
public class RoleEntity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "roleid", type = IdType.AUTO)
    private Integer roleid;

    @TableField("role_name")
    private String roleName;

    @TableField("role_type")
    private Integer roleType;

    @TableField("role_time_over")
    private LocalDateTime roleTimeOver;

    @TableField("role_remake")
    private String roleRemake;


}
